<ExtensionModel>

	<Extension path = "/MonoDevelop/Ide/Commands">
		<Category _name = "Deployment" id = "Deployment">
		<Command id = "MonoDevelop.Deployment.Commands.CreatePackage"
				defaultHandler = "MonoDevelop.Deployment.CreatePackageHandler"
				_label = "Create Package..." />
		<Command id = "MonoDevelop.Deployment.Commands.AddPackage"
				defaultHandler = "MonoDevelop.Deployment.AddPackageHandler"
				_label = "Add Package..." />
		<Command id = "MonoDevelop.Deployment.Commands.Install"
				defaultHandler = "MonoDevelop.Deployment.InstallHandler"
				_label = "Install..." />
		</Category>
	</Extension>


	<!-- Extension Points -->

	<ExtensionPoint path = "/MonoDevelop/DeployService/PackageBuilders">
		<Description>Deployment handlers. Specified classes must implement IDeployHandler.</Description>
		<ExtensionNode name="Class" />
	</ExtensionPoint>

	<ExtensionPoint path = "/MonoDevelop/Deployment/DeployFileCopiers" name = "File copiers">
		<Description>File copiers for deployment handlers. Specified classes must implement IDeployFileCopier.</Description>
		<ExtensionNode name="Class" />
	</ExtensionPoint>

	<ExtensionPoint path = "/MonoDevelop/Deployment/DeployServiceExtensions" name="Deploy service extensions">
		<ExtensionNode name="Class" />
	</ExtensionPoint>

	<ExtensionPoint path = "/MonoDevelop/Deployment/PackageBuilderEditors" description="Package builder editors">
		<Description>Editors for package builders. Specified classes must implement IPackageBuilderEditor.</Description>
		<ExtensionNode name="Class" />
	</ExtensionPoint>

	<ExtensionPoint path = "/MonoDevelop/Deployment/FileCopyConfigurationEditors" name = "Editors for file copy congigurations">
		<Description>Editors for file copy congigurations. Specified classes must implement IFileCopyConfigurationEditor.</Description>
		<ExtensionNode name="Class" />
	</ExtensionPoint>

	<ExtensionPoint path = "/MonoDevelop/Deployment/ContextMenu/ProjectPad/Package" name="Package context menu">
		<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
	</ExtensionPoint>

	<ExtensionPoint path = "/MonoDevelop/Deployment/ContextMenu/ProjectPad/PackagingProject" name="Packaging project context menu">
		<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
	</ExtensionPoint>

	<ExtensionPoint path = "/MonoDevelop/Deployment/DeployDirectories" name="Deploy directories">
		<ExtensionNode name="DeployDirectory" type="MonoDevelop.Deployment.DeployDirectoryNodeType" />
	</ExtensionPoint>

	<ExtensionPoint path = "/MonoDevelop/Deployment/DeployPlatforms" name="Deploy platforms">
		<ExtensionNode name="DeployPlatform" type="MonoDevelop.Deployment.DeployPlatformNodeType" />
	</ExtensionPoint>

	<ExtensionPoint path = "/MonoDevelop/Deployment/DeployDirectoryResolvers" name="Deploy directory resolvers">
		<ExtensionNode name="Class" />
	</ExtensionPoint>

	<!-- Extensions -->

	<Extension path = "/MonoDevelop/Ide/ContextMenu/ProjectPad/Tools">
		<Condition id="ItemType" value="Solution|Project">
			<CommandItem id = "MonoDevelop.Deployment.Commands.CreatePackage" insertafter="MonoDevelop.Ide.Commands.ProjectCommands.ExportSolution"/>
			<CommandItem id = "MonoDevelop.Deployment.Commands.Install" insertafter="ExportSeparator"/>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/MainMenu/Project">
		<CommandItem id = "MonoDevelop.Deployment.Commands.CreatePackage" insertafter="MonoDevelop.Ide.Commands.ProjectCommands.ExportSolution"/>
	</Extension>

	<Extension path = "/MonoDevelop/ProjectModel/SerializableClasses">
		<DataType class = "MonoDevelop.Deployment.Targets.LocalFileCopyConfiguration" />
		<DataType class = "MonoDevelop.Deployment.Targets.SshFuseFileCopyConfiguration" />
		<DataType class = "MonoDevelop.Deployment.PackagingProject" />
		<DataType class = "MonoDevelop.Deployment.PackagingProjectConfiguration" />
		<DataType class = "MonoDevelop.Deployment.Targets.BinariesZipPackageBuilder" />
		<DataType class = "MonoDevelop.Deployment.Targets.SourcesZipPackageBuilder" />
	</Extension>

	<Extension path = "/MonoDevelop/DeployService/PackageBuilders">
		<Class class = "MonoDevelop.Deployment.Targets.SourcesZipPackageBuilder" />
		<Class class = "MonoDevelop.Deployment.Targets.BinariesZipPackageBuilder" />
	</Extension>

	<Extension path = "/MonoDevelop/Deployment/DeployFileCopiers">
		<Class class = "MonoDevelop.Deployment.Targets.LocalFileCopyHandler" />
		<Condition id="Platform" value="!windows">
			<Class class = "MonoDevelop.Deployment.Targets.SshFuseFileCopyHandler" />
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/Deployment/DeployServiceExtensions">
		<Class id="PrepareDeploy" class = "MonoDevelop.Deployment.DeployServiceExtension" />
		<Class id="DefaultDeploy" class = "MonoDevelop.Deployment.DefaultDeployServiceExtension" />
	</Extension>

	<Extension path = "/MonoDevelop/Deployment/PackageBuilderEditors">
		<Class class = "MonoDevelop.Deployment.Gui.SourcesZipDeployEditor" />
		<Class class = "MonoDevelop.Deployment.Gui.BinariesZipDeployEditor" />
	</Extension>

	<Extension path = "/MonoDevelop/Deployment/FileCopyConfigurationEditors">
		<Class class = "MonoDevelop.Deployment.Gui.LocalFileCopyConfigurationEditor" />
		<Condition id="Platform" value="!windows">
			<Class class = "MonoDevelop.Deployment.Gui.SshFuseFileCopyConfigurationEditor" />
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/DesignerSupport/PropertyProviders">
		<Class class = "MonoDevelop.Deployment.Gui.PropertyProvider"/>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/ProjectTemplates">
		<ProjectTemplate id = "MonoDevelop.PackagingProject" resource = "PackagingProject.xpt.xml"/>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/Pads/ProjectPad">
		<NodeBuilder class = "MonoDevelop.Deployment.NodeBuilders.PackagingProjectNodeBuilder"/>
		<NodeBuilder class = "MonoDevelop.Deployment.NodeBuilders.PackageNodeBuilder"/>
	</Extension>

	<Extension path = "/MonoDevelop/Deployment/ContextMenu/ProjectPad/Package">
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.Build" />
		<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Delete" />
		<SeparatorItem />
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.Options" />
		<SeparatorItem />
	</Extension>

	<Extension path = "/MonoDevelop/Deployment/ContextMenu/ProjectPad/PackagingProject">
		<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.Build" />
		<CommandItem id = "MonoDevelop.Deployment.Commands.AddPackage" />
		<SeparatorItem />
		<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Delete" />
	</Extension>

	<Extension path = "/MonoDevelop/Core/StockIcons">
		<StockIcon stockid = "md-package-project" resource = "package-project.png" size = "Dnd" />
	</Extension>

	<Extension path = "/MonoDevelop/ProjectModel/Gui/ItemOptionPanels">
		<Section id = "Deployment" _label = "Deployment" />
	</Extension>

	<Extension path = "/MonoDevelop/Deployment/DeployDirectories">
		<DeployDirectory id="ProgramFiles" _label="Program files" />
		<DeployDirectory id="ProgramFilesRoot" _label="Program files root folder" />
		<DeployDirectory id="Binaries" _label="Binaries" />
		<DeployDirectory id="Gac" _label="Global Assembly Cache" />
		<DeployDirectory id="CommonApplicationData" _label="Shared application data" />
		<DeployDirectory id="CommonApplicationDataRoot" _label="Shared application data root folder" />
	</Extension>

	<Extension path = "/MonoDevelop/Deployment/DeployPlatforms">
		<DeployPlatform id="Linux" _label="Linux" />
		<DeployPlatform id="Windows" _label="Microsoft Windows" />
	</Extension>

	<Extension path="/MonoDevelop/Ide/TemplateImages">
		<Image id="md-package-project" resource="package-sidebar.png" />
	</Extension>
</ExtensionModel>
